package work.shyk.msf.xml.model;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * description: <br>
 * createTime: 2019/9/1111:07 <br>
 *
 * @author zzh
 */
@Data
@XmlRootElement(name = "leaseInfo")
@XmlAccessorType(XmlAccessType.FIELD)
public class LeaseInfo {
    @XmlElement(name = "renewalIntervalInSecs")
    private Integer renewalIntervalInSecs;

    @XmlElement(name = "durationInSecs")
    private Integer durationInSecs;

    @XmlElement(name = "registrationTimestamp")
    private Long registrationTimestamp;

    @XmlElement(name = "lastRenewalTimestamp")
    private Long lastRenewalTimestamp;

    @XmlElement(name = "evictionTimestamp")
    private Long evictionTimestamp;

    @XmlElement(name = "serviceUpTimestamp")
    private Long serviceUpTimestamp;
}
